package com.ruoyi.user.model.pojo.request.app;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Getter
@Setter
@Schema(name = "APP-设置青少年参数")
public class AppUserSetTeenagerRequest {
    @Schema(name = "监护密码")
    @NotBlank(message = "监护密码不能为空")
    @Length(max = 4,message = "监护密码4位数")
    private String tutelageWord;


    @Schema(name = "0设置 1退出")
    @NotNull(message = "类型不能为空")
    private Integer type;

}
